Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Shading UV

Labels

ASCII
ShadingUV
Binary
shuv ( = 0x73687576 )

Data Format

Param2D             shadingUV
shadingUV
The values in the two fields of this structure specify parameters in u and v for the purpose of shading. Both of these values must be floating-point numbers greater than or equal to 0 and less than or equal to 1.

Data Size

8

Description

A shading UV object is used to specify uv parameters for the purpose of shading. A shading UV object is normally used in conjunction with a texture shader.

Parent Hierarchy

Element, attribute.

Parent Objects

Attribute set. A shading UV object always has a parent object.

Child Objects

None.

Example

Container (
    AttributeSet ( )
    ShadingUV ( 0 0 )
)

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |